package com.ruoyi.djb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 蓝牙设备管理对象 djb_district_bluetooth
 * 
 * @author xxd
 * @date 2024-06-13
 */
public class DjbDistrictBluetooth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /**  */
    @Excel(name = "")
    private String name;

    /**  */
    @Excel(name = "")
    private String mac;

    /**  */
    @Excel(name = "")
    private Integer districtId;

    /**  */
    @Excel(name = "")
    private Integer gateId;

    /** 入场、出场 */
    @Excel(name = "入场、出场")
    private String type;

    private String districtName;

    private String gateName;

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getGateName() {
        return gateName;
    }

    public void setGateName(String gateName) {
        this.gateName = gateName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMac(String mac) 
    {
        this.mac = mac;
    }

    public String getMac() 
    {
        return mac;
    }
    public void setDistrictId(Integer districtId) 
    {
        this.districtId = districtId;
    }

    public Integer getDistrictId() 
    {
        return districtId;
    }
    public void setGateId(Integer gateId) 
    {
        this.gateId = gateId;
    }

    public Integer getGateId() 
    {
        return gateId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("mac", getMac())
            .append("districtId", getDistrictId())
            .append("gateId", getGateId())
            .append("remark", getRemark())
            .append("type", getType())
            .toString();
    }
}
